<template>
  <div>
    <h2>App组件标题</h2>
    <p>{{ count }}</p>

    <Helloworld v-on:invockParentIncrease="increase"></Helloworld>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import Helloworld from '@/components/HelloWorld.vue'
let count = ref(0)
let increase = () => {
  count.value++
}
</script>

<style>
p {
  background: #ccc;
}

div {
  border: 1px solid #aaa;
  margin: 20px;
}
</style>
